<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="/erp/css/style.css" type="text/css"/>
    <script type="text/javascript" src="/erp/js/jquery.2.1.4.js"></script>

    <style>
        * {
            margin: 0;
            padding: 0;
            list-style-type: none;
        }

        a {
            border: 0;
        }

        body {
            font: 25px Arial, Helvetica, sans-serif, "新宋体";
        }
    </style>
    <script>
        <%--function check() {--%>
        <%--var hr = document.getElementById("sys");--%>
        <%--if (${sessionScope.user.isAdmin==0}) {--%>
        <%--hr.setAttribute("href", "${pageContext.request.contextPath}/page/error.jsp");--%>
        <%--}--%>
        <%--if (${sessionScope.user.isAdmin==1}) {--%>
        <%--hr.setAttribute("href", "${pageContext.request.contextPath}/userCtrl?parm=list");--%>
        <%--}--%>
        <%--}--%>
    </script>
    <style>
        body {
            background: url("../image/left.jpg") no-repeat;
            height: 100%;
            width: 100%;
            overflow: hidden;
            background-size: 100%;
        }
    </style>
</head>
<body>
<div style="text-align:center;margin:0px;height:100%;width:100%;overflow:hidden">
    <div style="text-align:center" id="big_banner_wrap">
        <ul style="text-align:center;margin: 50px auto" id="banner_menu_wrap">

            <li>
                <a style="margin: 8px auto" class="button blue"
                   href="${pageContext.request.contextPath}/userCtrl?parm=list"
                   target="right">系统管理</a>
            </li>

            <li>
                <a style="margin: 8px auto" class="button blue"
                   href="${pageContext.request.contextPath}/goodsCtrl?parm=list"
                   target="right">商品管理</a>
            </li>

            <li>
                <a style="margin: 8px auto" class="button blue"
                   href="${pageContext.request.contextPath}/stockCtrl?parm=list"
                   target="right">库存管理</a>
            </li>

            <li>
                <a style="margin: 8px auto" class="button blue"
                   href="${pageContext.request.contextPath}/outstoreCtrl?parm=list" target="right">出库管理</a>
            </li>

            <li>
                <a style="margin: 8px auto" class="button blue"
                   href="${pageContext.request.contextPath}/instoreCtrl?parm=list" target="right">入库管理</a>
            </li>

            <li>
                <a style="margin: 8px auto" class="button blue"
                   href="${pageContext.request.contextPath}/chartCtrl?parm=list" target="right">统计报表</a>
            </li>
        </ul>
    </div>
</div>


<%--<a id="sys" href="" target="right" onclick="check();">系统管理</a><br><br>
<a href="${pageContext.request.contextPath}/goodsCtrl?parm=list" target="right">商品管理</a><br><br>
<a href="${pageContext.request.contextPath}/stockCtrl?parm=list" target="right">库存管理</a><br><br>
<a href="${pageContext.request.contextPath}/outstoreCtrl?parm=list" target="right">出库管理</a><br><br>
<a href="${pageContext.request.contextPath}/instoreCtrl?parm=list" target="right">入库管理</a><br><br>
<a href="${pageContext.request.contextPath}/chartCtrl?parm=list" target="right">统计报表</a>--%>
</div>
</body>
<script>
    //菜单栏的显示
    $("#banner_menu_wrap").children().hover(function () {
        $(this).css("background", "#0090d7");
    }, function () {
        $(this).css("background", "none");
    });
</script>
</html>
